//
//  LineItem.h
//  mock-store
//
//  Created by aewatson on 10/20/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Item.h"

@interface LineItem : NSObject {
    int quantity;
    Item *item;
}

@property int quantity;
@property (nonatomic, retain) Item *item;

-(id)initWithItem:(Item*) newItem andQuantity: (int) newQuantity;
-(float)getLineItemTotalFloat;
-(NSString*)getLineItemTotalString;
-(NSString*)getItemName;
-(NSString*)getItemDescription;
-(NSString*)getItemSKU;
-(NSString*)getItemPriceString;
-(float)getItemPriceFloat;
-(NSString*)getLineItemSummaryString;

@end
